Skip to main content

mergHKQueryResults

Type

message

Summary

Sent to the object that initiated a query

Syntax

mergHKQueryResults <pQueryID>, <pResultA>, <pError>

Description

Sent to the object that initiated a query

Parameters

NameTypeDescription

pQueryID

The reference ID returned by one of the query commands

pResultA

A multi-dimensional array of found samples keyed by sample UUID. Each sample will have the following format:|identifier|start date|end date|quantity - quantity samples only|quantity units - quantity samples only|workout type - workouts only|total energy burned - workout samples only|total distance - workout samples only|metadata - An array containing metadata for the sample. Defined keys are documented here but there may be custom keys also.

pError

A localised error string in the event of an error

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?